]> dgit.raspbian.org Git - gnome-shell.git/commit
st/button: Consider touch sequences for ::pressed state
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 18 Mar 2021 17:40:40 +0000 (18:40 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 11 May 2021 16:13:49 +0000 (16:13 +0000)
commit279db3f16887427007c22601e441e3ea4c8dcde7
tree44f8c06318b6451b578ef185ef4d807231cd5567
parent0a7507c617c08dbbccb4549665b87cf340f97e1c
st/button: Consider touch sequences for ::pressed state

We do notify on the ::pressed property after touch begin/end and
recording the event sequence, but we do not return the correct value
if the button was triggered via touch.

Consider the event sequence also in the ::pressed getter, so the
button is considered pressed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1774>
src/st/st-button.c